#pragma once

#include "IWriteStrategy.hpp"
#include <iostream>

class NormalStrategy : public IWriteStrategy{
public:
    NormalStrategy() = default;
    NormalStrategy(const NormalStrategy&) = default;
    NormalStrategy& operator=(const NormalStrategy&) = default;
    NormalStrategy(const NormalStrategy&&) = delete;
    NormalStrategy& operator=(const NormalStrategy&&) = delete;
    ~NormalStrategy() = default;

    int OnWriteAt(int pos,void* data,int length) override{
        std::cout << "Normal" << std::endl;
        return length;
    }
private:
    int test = 42;

};